package com.cn.common;

public class ClientType {

    /**
     * 0 - broker向 nameSrv注册
     * 1 - consumer向 nameSrv 注册
     * 2 - consumer向 broker调用
     * 3 - broker  slave 节点 连接 master
     */
    private int client_type;


    public ClientType(int client_type) {
        this.client_type = client_type;
    }

    public int getClient_type() {
        return client_type;
    }

    public void setClient_type(int client_type) {
        this.client_type = client_type;
    }
}
